100
I have a picture on the control's background, the question is how do I draw selection as semi-transparent


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:SelBackMode := exTransparent
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add("Item 1")
oDCOCX_Exontrol1:Items:Add("Item 2")

99
It seems that the control uses the TAB key, is there any way to avoid that

oDCOCX_Exontrol1:UseTabKey := false

98
How do I assign a database to your control, using ADO, ADOR or ADODB objects

local rs as _Recordset

oDCOCX_Exontrol1:ColumnAutoResize := false
oDCOCX_Exontrol1:ContinueColumnScroll := false
// Generate Source for 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' server from Tools\Automation Server...
rs := _Recordset{"ADOR.Recordset"}
	rs:Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Program Files\Exontrol\ExList\Sample\Access\SAMPLE.ACCDB",3,3,0)
oDCOCX_Exontrol1:DataSource := _Recordset{rs}

97
How do I change the visual appearance effect for the selected item, using EBN


oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:SelBackColor := 0x1000000
oDCOCX_Exontrol1:SelForeColor := RGB(0,0,0)
oDCOCX_Exontrol1:ShowFocusRect := false
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)

96
How do I change the colors for the selected item


oDCOCX_Exontrol1:SelBackColor := RGB(0,0,0)
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)

95
How do I get ride of the rectangle arround focused item


oDCOCX_Exontrol1:ShowFocusRect := false
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)

94
How can I change the control's font


oDCOCX_Exontrol1:Font:Name := "Tahoma"
oDCOCX_Exontrol1:Columns:Add("Column")

93
I can't scroll to the end of the data. What can I do

local var_Items,var_Items1,var_Items2,var_Items3 as IItems

oDCOCX_Exontrol1:ScrollBySingleLine := true
oDCOCX_Exontrol1:DrawGridLines := exAllLines
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:[ItemHeight,var_Items:Add(0)] := 13
oDCOCX_Exontrol1:PutItems(oDCOCX_Exontrol1:GetItems(0),nil)
var_Items1 := oDCOCX_Exontrol1:Items
	var_Items1:[ItemHeight,var_Items1:Add(1)] := 26
oDCOCX_Exontrol1:PutItems(oDCOCX_Exontrol1:GetItems(0),nil)
var_Items2 := oDCOCX_Exontrol1:Items
	var_Items2:[ItemHeight,var_Items2:Add(2)] := 36
oDCOCX_Exontrol1:PutItems(oDCOCX_Exontrol1:GetItems(0),nil)
var_Items3 := oDCOCX_Exontrol1:Items
	var_Items3:[ItemHeight,var_Items3:Add(3)] := 48
oDCOCX_Exontrol1:PutItems(oDCOCX_Exontrol1:GetItems(0),nil)

92
Is there any option to select an item using the right button of the mouse (rclick)


oDCOCX_Exontrol1:RClickSelect := true
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add("Item 1")
oDCOCX_Exontrol1:Items:Add("Item 2")

91
How do I edit a cell

METHOD OCX_Exontrol1AfterCellEdit(ItemIndex,ColIndex,NewCaption) CLASS MainDialog
	// AfterCellEdit event - Occurs after data in the current cell is edited.
	oDCOCX_Exontrol1:Items:[Caption,ItemIndex,ColIndex] := NewCaption
RETURN NIL

METHOD OCX_Exontrol1CancelCellEdit(ItemIndex,ColIndex,Reserved) CLASS MainDialog
	// CancelCellEdit event - Occurs if the edit operation is canceled.
	oDCOCX_Exontrol1:Items:[Caption,ItemIndex,ColIndex] := Reserved
RETURN NIL


oDCOCX_Exontrol1:AllowEdit := true
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add("Item 1")
oDCOCX_Exontrol1:Items:Add("Item 2")

90
I have FullRowSelect property on False, how do I select a column


oDCOCX_Exontrol1:SelectColumnIndex := 1
oDCOCX_Exontrol1:FullRowSelect := false

89
How can I scroll columns one by one, not pixel by pixel

oDCOCX_Exontrol1:ContinueColumnScroll := false
oDCOCX_Exontrol1:ColumnAutoResize := false
IColumn{oDCOCX_Exontrol1:Columns:Add("1")}:Width := 128
IColumn{oDCOCX_Exontrol1:Columns:Add("2")}:Width := 128
IColumn{oDCOCX_Exontrol1:Columns:Add("3")}:Width := 128
IColumn{oDCOCX_Exontrol1:Columns:Add("4")}:Width := 128
IColumn{oDCOCX_Exontrol1:Columns:Add("5")}:Width := 128

88
How can I enable multiple items selection


oDCOCX_Exontrol1:SingleSel := false
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)
oDCOCX_Exontrol1:Items:Add(2)

87
How can I programmatically change the column where incremental searching is performed

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Column 1")
oDCOCX_Exontrol1:Columns:Add("Column 2")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:[Caption,var_Items:Add("Item 1"),1] := "SubItem 1"
oDCOCX_Exontrol1:SearchColumnIndex := 1

86
How do I disable the full-row selection in the control

local var_Columns as IColumns
local var_Items as IItems

oDCOCX_Exontrol1:FullRowSelect := false
var_Columns := oDCOCX_Exontrol1:Columns
	var_Columns:Add("C1")
	var_Columns:Add("C2")
	var_Columns:Add("C3")
	var_Columns:[Item,0]:Position := 1
var_Items := oDCOCX_Exontrol1:Items
	var_Items:Add("One")
	var_Items:Add("Two")
	var_Items:Add("Three")

85
Is there any option to specify the height of the items, before adding them


oDCOCX_Exontrol1:DefaultItemHeight := 32
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add("One")
oDCOCX_Exontrol1:Items:Add("Two")

84
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns

local var_Items as IItems

oDCOCX_Exontrol1:CountLockedColumns := 1
oDCOCX_Exontrol1:BackColorLock := RGB(240,240,240)
oDCOCX_Exontrol1:ColumnAutoResize := false
IColumn{oDCOCX_Exontrol1:Columns:Add("Locked")}:Width := 128
IColumn{oDCOCX_Exontrol1:Columns:Add("Un-Locked 1")}:Width := 128
IColumn{oDCOCX_Exontrol1:Columns:Add("Un-Locked 2")}:Width := 128
IColumn{oDCOCX_Exontrol1:Columns:Add("Un-Locked 3")}:Width := 128
var_Items := oDCOCX_Exontrol1:Items
	var_Items:[Caption,var_Items:Add("locked"),1] := "unlocked"

83
How do I change the control's background / foreground color on the locked area

local var_Items as IItems

oDCOCX_Exontrol1:CountLockedColumns := 1
oDCOCX_Exontrol1:ForeColorLock := RGB(240,240,240)
oDCOCX_Exontrol1:BackColorLock := RGB(128,128,128)
oDCOCX_Exontrol1:ColumnAutoResize := false
IColumn{oDCOCX_Exontrol1:Columns:Add("Locked")}:Width := 128
IColumn{oDCOCX_Exontrol1:Columns:Add("Un-Locked 1")}:Width := 128
IColumn{oDCOCX_Exontrol1:Columns:Add("Un-Locked 2")}:Width := 128
IColumn{oDCOCX_Exontrol1:Columns:Add("Un-Locked 3")}:Width := 128
var_Items := oDCOCX_Exontrol1:Items
	var_Items:[Caption,var_Items:Add("locked"),1] := "unlocked"

82
How do I change the control's foreground color


oDCOCX_Exontrol1:ForeColor := RGB(120,120,120)
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add("item")

81
How do I change the control's background color


oDCOCX_Exontrol1:BackColor := RGB(200,200,200)

80
How do I use my own icons for my radio buttons

local var_Items as IItems

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:[RadioImage,false] := 1
oDCOCX_Exontrol1:[RadioImage,true] := 2
IColumn{oDCOCX_Exontrol1:Columns:Add("Radio")}:[Def,exCellHasRadioButton] := true
var_Items := oDCOCX_Exontrol1:Items
	var_Items:Add("Radio 1")
	var_Items:[CellState,var_Items:Add("Radio 2"),0] := 1
	var_Items:Add("Radio 3")

79
How do I use my own icons for checkbox cells

local var_Items as IItems

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:[CheckImage,Unchecked] := 1
oDCOCX_Exontrol1:[CheckImage,Checked] := 2
IColumn{oDCOCX_Exontrol1:Columns:Add("Check")}:[Def,exCellHasCheckBox] := true
var_Items := oDCOCX_Exontrol1:Items
	var_Items:Add("Check 1")
	var_Items:[CellState,var_Items:Add("Check 2"),0] := 1

78
How do I perform my own sorting when user clicks the column's header


oDCOCX_Exontrol1:SortOnClick := exUserSort
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add("Item 1")
oDCOCX_Exontrol1:Items:Add("Item 2")

77
How do I disable sorting a specified column when clicking its header

oDCOCX_Exontrol1:Columns:Add("1")
IColumn{oDCOCX_Exontrol1:Columns:Add("NoSort")}:AllowSort := false

76
How do I disable sorting the columns when clicking the control's header

oDCOCX_Exontrol1:SortOnClick := exNoSort
oDCOCX_Exontrol1:Columns:Add("1")
oDCOCX_Exontrol1:Columns:Add("2")

75
How do I put a picture on the center of the control


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := MiddleCenter

74
How do I resize/stretch a picture on the control's background


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := Stretch

73
How do I put a picture on the control's center right bottom side


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := LowerRight

72
How do I put a picture on the control's center left bottom side


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := LowerLeft

71
How do I put a picture on the control's center top side


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := UpperCenter

70
How do I put a picture on the control's right top corner


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := UpperRight

69
How do I put a picture on the control's left top corner


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := UpperLeft

68
How do I put a picture on the control's background


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")

67
How do I sort descending a column, and put the sorting icon in the column's header

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:Add("Item 1")
	var_Items:Add("Item 2")
	var_Items:Add("Item 3")
oDCOCX_Exontrol1:Columns:[Item,0]:SortOrder := SortDescending

66
How do I sort ascending a column, and put the sorting icon in the column's header

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:Add("Item 3")
	var_Items:Add("Item 1")
	var_Items:Add("Item 2")
oDCOCX_Exontrol1:Columns:[Item,0]:SortOrder := SortAscending

65
How do I perform my own/custom sort, using my extra numbers

local var_Items as IItems

IColumn{oDCOCX_Exontrol1:Columns:Add("desc")}:SortType := SortUserData
var_Items := oDCOCX_Exontrol1:Items
	var_Items:[CellData,var_Items:Add(0),0] := 2
	var_Items:[CellData,var_Items:Add(1),0] := 1
	var_Items:[CellData,var_Items:Add(2),0] := 0
	var_Items:Sort(0,false)

64
By default, the column gets sorted as strings, so how do I sort a column by time only

local var_Items as IItems

IColumn{oDCOCX_Exontrol1:Columns:Add("desc")}:SortType := SortTime
var_Items := oDCOCX_Exontrol1:Items
	var_Items:Add("11:00")
	var_Items:Add("10:10")
	var_Items:Add("12:12")
	var_Items:Sort(0,false)

63
By default, the column gets sorted as strings, so how do I sort a column by date and time

local var_Items as IItems

IColumn{oDCOCX_Exontrol1:Columns:Add("desc")}:SortType := SortDateTime
var_Items := oDCOCX_Exontrol1:Items
	var_Items:Add("1/1/2001 11:00")
	var_Items:Add("1/1/2001 10:10")
	var_Items:Add("1/3/2003")
	var_Items:Sort(0,false)

62
By default, the column gets sorted as strings, so how do I sort a column by dates

local var_Items as IItems

IColumn{oDCOCX_Exontrol1:Columns:Add("desc")}:SortType := SortDate
var_Items := oDCOCX_Exontrol1:Items
	var_Items:Add("1/1/2001")
	var_Items:Add("1/2/2002")
	var_Items:Add("1/3/2003")
	var_Items:Sort(0,false)

61
How do I sort a column by numbers

local var_Items as IItems

IColumn{oDCOCX_Exontrol1:Columns:Add("desc")}:SortType := SortNumeric
var_Items := oDCOCX_Exontrol1:Items
	var_Items:Add(1)
	var_Items:Add(5)
	var_Items:Add(10)
	var_Items:Sort(0,false)

60
How do I hide the control's header bar

oDCOCX_Exontrol1:HeaderVisible := false

59
How do change the visual appearance for the control's header bar, using EBN


oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:BackColorHeader := 0x1000000

58
How do I remove the control's border

oDCOCX_Exontrol1:Appearance := None2

57
How can I get ride/hide of the "Filter For" field

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:DisplayFilterPattern := false

56
How do I filter for items that match exactly the specified string

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exFilter
	var_Column:Filter := "Item 1"
oDCOCX_Exontrol1:Items:Add("Item 1")
oDCOCX_Exontrol1:Items:Add("Item 2")
oDCOCX_Exontrol1:Items:Add("Item 3")
oDCOCX_Exontrol1:ApplyFilter()

55
How can I can I programmatically filter for items with a specified icon assigned

local var_Column as IColumn
local var_Items as IItems

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exImage
	var_Column:Filter := AsString(1)
var_Items := oDCOCX_Exontrol1:Items
	var_Items:[CellImage,var_Items:Add("Image 1"),0] := 1
	var_Items:[CellImage,var_Items:Add("Image 1"),0] := 1
	var_Items:[CellImage,var_Items:Add("Image 2"),0] := 2
	var_Items:[CellImage,var_Items:Add("Image 3"),0] := 3
oDCOCX_Exontrol1:ApplyFilter()

54
How can I can I programmatically filter the checked items

local var_Column as IColumn
local var_Items as IItems

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:[Def,exCellHasCheckBox] := true
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exCheck
	var_Column:Filter := AsString(0)
oDCOCX_Exontrol1:Items:Add(0)
var_Items := oDCOCX_Exontrol1:Items
	var_Items:[CellState,var_Items:Add(1),0] := 1
oDCOCX_Exontrol1:Items:Add(2)
oDCOCX_Exontrol1:ApplyFilter()

53
How can I can I filter programmatically the items based on some numerichal rules

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exNumeric
	var_Column:Filter := "> 0 <= 1"
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)
oDCOCX_Exontrol1:Items:Add(2)
oDCOCX_Exontrol1:ApplyFilter()

52
How can I can I filter programmatically the items based on a range/interval of dates

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:DisplayFilterDate := true
	var_Column:FilterType := exDate
	var_Column:Filter := "1/1/2001 to 1/1/2002"
oDCOCX_Exontrol1:Items:Add("1/1/2001")
oDCOCX_Exontrol1:Items:Add("2/1/2002")
oDCOCX_Exontrol1:ApplyFilter()

51
How can I can I filter programmatically given a specified pattern using wild characters like * or

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exPattern
	var_Column:Filter := "0*"
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add("00")
oDCOCX_Exontrol1:Items:Add(1)
oDCOCX_Exontrol1:Items:Add("11")
oDCOCX_Exontrol1:ApplyFilter()

50
How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exBlanks
oDCOCX_Exontrol1:ApplyFilter()

49
How can I display the column's filter


IColumn{oDCOCX_Exontrol1:Columns:Add("")}:DisplayFilterButton := true

48
How can I show only the vertical scroll bar


oDCOCX_Exontrol1:ColumnAutoResize := true
oDCOCX_Exontrol1:ScrollBars := DisableNoVertical
oDCOCX_Exontrol1:Columns:Add(AsString(1))
oDCOCX_Exontrol1:Columns:Add(AsString(2))

47
How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exCheck
	var_Column:Filter := AsString(0)
oDCOCX_Exontrol1:[Description,exFilterBarIsChecked] := "Check_On"
oDCOCX_Exontrol1:[Description,exFilterBarIsUnchecked] := "Check_Off"
oDCOCX_Exontrol1:ApplyFilter()

46
How can I change the "Checked" caption in the drop down filter window, when I filter for checked items

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exCheck
oDCOCX_Exontrol1:[Description,exFilterBarChecked] := "with check on"
oDCOCX_Exontrol1:[Description,exFilterBarUnchecked] := "with check off"

45
How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:DisplayFilterDate := true
oDCOCX_Exontrol1:[Description,exFilterBarDateWeekDays] := "Du Lu Ma Mi Jo Vi Si"
oDCOCX_Exontrol1:ApplyFilter()

44
How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:DisplayFilterDate := true
oDCOCX_Exontrol1:[Description,exFilterBarDateMonths] := "Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre"
oDCOCX_Exontrol1:ApplyFilter()

43
Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:DisplayFilterDate := true
oDCOCX_Exontrol1:[Description,exFilterBarDateTodayCaption] := "Azi"
oDCOCX_Exontrol1:ApplyFilter()

42
The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:DisplayFilterDate := true
oDCOCX_Exontrol1:[Description,exFilterBarDateTo] := "->"
oDCOCX_Exontrol1:ApplyFilter()

41
How can I filter the items that are between an interval/range of dates

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:DisplayFilterDate := true
oDCOCX_Exontrol1:ApplyFilter()

40
Can I change the "Date:" caption when the column's drop down filter window is shown

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:DisplayFilterDate := true
oDCOCX_Exontrol1:[Description,exFilterBarDate] := "Range"
oDCOCX_Exontrol1:ApplyFilter()

39
Can I filter for values using OR - NOT , instead AND operator

local var_Column,var_Column1,var_Column2 as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exBlanks
var_Column1 := IColumn{oDCOCX_Exontrol1:Columns:Add("Column 2")}
	var_Column1:DisplayFilterButton := true
	var_Column1:FilterType := exBlanks
var_Column2 := IColumn{oDCOCX_Exontrol1:Columns:Add("Column 3")}
	var_Column2:DisplayFilterButton := true
	var_Column2:FilterType := exBlanks
oDCOCX_Exontrol1:FilterCriteria := "%0 or not %1 and %2"
oDCOCX_Exontrol1:ApplyFilter()

38
Can I change the NOT string in the filter bar

local var_Column,var_Column1 as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exBlanks
var_Column1 := IColumn{oDCOCX_Exontrol1:Columns:Add("Column 2")}
	var_Column1:DisplayFilterButton := true
	var_Column1:FilterType := exNonBlanks
oDCOCX_Exontrol1:FilterCriteria := "not %0 or %1"
oDCOCX_Exontrol1:[Description,exFilterBarNot] := " ! "
oDCOCX_Exontrol1:[Description,exFilterBarIsNonBlank] := " ! IsBlank"
oDCOCX_Exontrol1:ApplyFilter()

37
Can I change the OR string in the filter bar

local var_Column,var_Column1 as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exBlanks
var_Column1 := IColumn{oDCOCX_Exontrol1:Columns:Add("Column 2")}
	var_Column1:DisplayFilterButton := true
	var_Column1:FilterType := exNonBlanks
oDCOCX_Exontrol1:FilterCriteria := "%0 or %1"
oDCOCX_Exontrol1:[Description,exFilterBarOr] := " | "
oDCOCX_Exontrol1:ApplyFilter()

36
Can I change the AND string in the filter bar

local var_Column,var_Column1 as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exBlanks
var_Column1 := IColumn{oDCOCX_Exontrol1:Columns:Add("Column 2")}
	var_Column1:DisplayFilterButton := true
	var_Column1:FilterType := exNonBlanks
oDCOCX_Exontrol1:[Description,exFilterBarAnd] := " & "
oDCOCX_Exontrol1:ApplyFilter()

35
The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window

local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exBlanks
oDCOCX_Exontrol1:[Description,exFilterBarIsBlank] := "Is Empty"
oDCOCX_Exontrol1:[Description,exFilterBarIsNonBlank] := "Is Not Empty"
oDCOCX_Exontrol1:ApplyFilter()

34
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window

IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}:DisplayFilterButton := true
oDCOCX_Exontrol1:[Description,exFilterBarFilterTitle] := ""
oDCOCX_Exontrol1:[Description,exFilterBarPatternFilterTitle] := ""
oDCOCX_Exontrol1:[Description,exFilterBarTooltip] := ""
oDCOCX_Exontrol1:[Description,exFilterBarPatternTooltip] := ""
oDCOCX_Exontrol1:[Description,exFilterBarFilterForTooltip] := ""
oDCOCX_Exontrol1:[Description,exFilterBarDateTooltip] := ""
oDCOCX_Exontrol1:[Description,exFilterBarDateTitle] := ""

33
How can I change the "Filter For" caption in the column's drop down filter window


IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}:DisplayFilterButton := true
oDCOCX_Exontrol1:[Description,exFilterBarFilterForCaption] := "new caption"

32
Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window


IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}:DisplayFilterButton := true
oDCOCX_Exontrol1:[Description,exFilterBarAll] := ""
oDCOCX_Exontrol1:[Description,exFilterBarBlanks] := ""
oDCOCX_Exontrol1:[Description,exFilterBarNonBlanks] := ""

31
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window


IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}:DisplayFilterButton := true
oDCOCX_Exontrol1:[Description,exFilterBarAll] := "new name for (All)"

30
How can I change the position of the column


oDCOCX_Exontrol1:Columns:Add("Column 1")
IColumn{oDCOCX_Exontrol1:Columns:Add("Column 2")}:Position := 0

29
Can I make strikeout the column's header


IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}:HeaderStrikeOut := true

28
How can I apply an strikeout font only a portion of the column's header


IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}:HTMLCaption := "<s>Col</s>umn 1"

27
How can I get underlined only a portion of column's header


IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}:HTMLCaption := "<u>Col</u>umn 1"

26
How can I underline the column's header


IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}:HeaderUnderline := true

25
How can I apply an italic font only a portion of the column's header


IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}:HTMLCaption := "<i>Col</i>umn 1"

24
Is there any option to make italic the column's header


IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}:HeaderItalic := true

23
How can I bold only a portion of the column's header


IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}:HTMLCaption := "<b>Col</b>umn 1"

22
Is there any option to bold the column's header


IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}:HeaderBold := true

21
Is there any option to change the color for the grid lines


oDCOCX_Exontrol1:Columns:Add("")
oDCOCX_Exontrol1:DrawGridLines := exAllLines
oDCOCX_Exontrol1:GridLineColor := RGB(255,0,0)

20
Can I change the font to display the column's header


oDCOCX_Exontrol1:HeaderHeight := 34
IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}:HTMLCaption := "<font Tahoma;14>Column</font> 1"

19
Can I change the height of the header bar


oDCOCX_Exontrol1:HeaderHeight := 32

18
Can I display multiple icons to the column's header


oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}:HTMLCaption := "1<img>1</img> 2 <img>2</img>..."

17
How can I show the control's grid lines


oDCOCX_Exontrol1:MarkSearchColumn := false
oDCOCX_Exontrol1:DrawGridLines := exAllLines
oDCOCX_Exontrol1:Columns:Add("Column 1")
oDCOCX_Exontrol1:Columns:Add("Column 2")
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)
oDCOCX_Exontrol1:Items:Add(2)

16
How can I assign a different background color for the entire column


oDCOCX_Exontrol1:MarkSearchColumn := false
IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}:[Def,exCellBackColor] := 255
oDCOCX_Exontrol1:Columns:Add("Column 2")
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)
oDCOCX_Exontrol1:Items:Add(2)

15
How can I assign a check box for a cell

local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Column 1")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:Add(0)
	var_Items:[CellHasCheckBox,var_Items:Add(1),0] := true
	var_Items:Add(2)

14
How can I assign checkboxes for the entire column


IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}:[Def,exCellHasCheckBox] := true
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)
oDCOCX_Exontrol1:Items:Add(2)

13
How can I show both scrollbars


oDCOCX_Exontrol1:ScrollBars := DisableBoth

12
How can I change the column's width


oDCOCX_Exontrol1:ColumnAutoResize := false
IColumn{oDCOCX_Exontrol1:Columns:Add("Column 1")}:Width := 64
IColumn{oDCOCX_Exontrol1:Columns:Add("Column 2")}:Width := 128

11
How can I show or hide a column

IColumn{oDCOCX_Exontrol1:Columns:Add("Hidden")}:Visible := false

10
How can I hide the searching column


oDCOCX_Exontrol1:MarkSearchColumn := false
oDCOCX_Exontrol1:Columns:Add("Column 1")
oDCOCX_Exontrol1:Columns:Add("Column 2")
oDCOCX_Exontrol1:Items:Add(nil)

9
Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar

IColumn{oDCOCX_Exontrol1:Columns:Add("Unsortable")}:AllowSort := false
oDCOCX_Exontrol1:Columns:Add("Sortable")

8
Is there any option to align the header to the left and the data to the right

local var_Column as IColumn
local var_Items as IItems

IColumn{oDCOCX_Exontrol1:Columns:Add("Left")}:Alignment := LeftAlignment
var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Right")}
	var_Column:Alignment := RightAlignment
	var_Column:HeaderAlignment := RightAlignment
var_Items := oDCOCX_Exontrol1:Items
	var_Items:[Caption,var_Items:Add("left"),1] := "right"

7
Can I displays a custom size picture to column's header


oDCOCX_Exontrol1:[HTMLPicture,"pic1"] := "c:\exontrol\images\zipdisk.gif"
oDCOCX_Exontrol1:HeaderHeight := 48
IColumn{oDCOCX_Exontrol1:Columns:Add("ColumnName")}:HTMLCaption := "<b>HTML</b> Column <img>pic1</img> Picture"

6
How can I insert an icon to column's header


oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
IColumn{oDCOCX_Exontrol1:Columns:Add("ColumnName")}:HTMLCaption := "<b>HTML</b> Column <img>1</img> Icon"

5
How can I insert an icon to column's header


oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
IColumn{oDCOCX_Exontrol1:Columns:Add("ColumnName")}:HeaderImage := 1

4
How can I use HTML format in column's header


IColumn{oDCOCX_Exontrol1:Columns:Add("ColumnName")}:HTMLCaption := "<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn"

3
How can I change/rename the column's name


IColumn{oDCOCX_Exontrol1:Columns:Add("ColumnName")}:Caption := "NewName"

2
How can I add multiple columns

local var_Columns as IColumns

var_Columns := oDCOCX_Exontrol1:Columns
	var_Columns:Add("Column 1")
	var_Columns:Add("Column 2")

1
How can I add a new column


oDCOCX_Exontrol1:Columns:Add("ColumnName")